package com.wl.designpattern.strategy;

/**
 * Created by wangliang on 2021/2/22.
 */
public class Context {
    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }

    public void doSomething() {
        this.strategy.doSomeThing();
    }
}
